<template>
    <div>
        <h1>{{name}}</h1>
        <span>价格:{{price}}</span>
        <img :src="url" alt="">
        <count :num="num"></count>
    </div>
</template>
<script>
import count from './count'
export default {
    components:{
        count
    },
    props:['name','price','num','url'],
    data(){
        return {
            person:{
                name:'lili'
            }
        }
    },
    methods:{
       
    }
}
</script>
